package com.qiangou.scheduled;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;


@Component("saveFtpData")  
public class SaveFtpData {  
    @Scheduled(cron = "0/5 * * * * *")  
    public void job1() {  
        System.out.println("任务进行中。。。");  
    }  
}